<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver CH9121: interface/driver_ch9121_interface_template.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver CH9121
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">CH9121 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ch9121__interface__template_8c.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">driver_ch9121_interface_template.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>driver ch9121 interface template source file  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="driver__ch9121__interface_8h_source.html">driver_ch9121_interface.h</a>&quot;</code><br />
</div>
<p><a href="driver__ch9121__interface__template_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaafb066d6c2dacb045876319b9ae48391"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#gaafb066d6c2dacb045876319b9ae48391">ch9121_interface_uart_init</a> (void)</td></tr>
<tr class="memdesc:gaafb066d6c2dacb045876319b9ae48391"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface uart init  <a href="group__ch9121__interface__driver.html#gaafb066d6c2dacb045876319b9ae48391">More...</a><br /></td></tr>
<tr class="separator:gaafb066d6c2dacb045876319b9ae48391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7cfaafde3831ef0d3200fa7bd4877406"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#ga7cfaafde3831ef0d3200fa7bd4877406">ch9121_interface_uart_deinit</a> (void)</td></tr>
<tr class="memdesc:ga7cfaafde3831ef0d3200fa7bd4877406"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface uart deinit  <a href="group__ch9121__interface__driver.html#ga7cfaafde3831ef0d3200fa7bd4877406">More...</a><br /></td></tr>
<tr class="separator:ga7cfaafde3831ef0d3200fa7bd4877406"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7162ad2eded271ed24160ae188d8533e"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#ga7162ad2eded271ed24160ae188d8533e">ch9121_interface_uart_read</a> (uint8_t *buf, uint16_t len)</td></tr>
<tr class="memdesc:ga7162ad2eded271ed24160ae188d8533e"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface uart read  <a href="group__ch9121__interface__driver.html#ga7162ad2eded271ed24160ae188d8533e">More...</a><br /></td></tr>
<tr class="separator:ga7162ad2eded271ed24160ae188d8533e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83237d6e503fc9572678ce25559af6a8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#ga83237d6e503fc9572678ce25559af6a8">ch9121_interface_uart_flush</a> (void)</td></tr>
<tr class="memdesc:ga83237d6e503fc9572678ce25559af6a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface uart flush  <a href="group__ch9121__interface__driver.html#ga83237d6e503fc9572678ce25559af6a8">More...</a><br /></td></tr>
<tr class="separator:ga83237d6e503fc9572678ce25559af6a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8da1512cc7addcaaf49e80e5789defca"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#ga8da1512cc7addcaaf49e80e5789defca">ch9121_interface_uart_write</a> (uint8_t *buf, uint16_t len)</td></tr>
<tr class="memdesc:ga8da1512cc7addcaaf49e80e5789defca"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface uart write  <a href="group__ch9121__interface__driver.html#ga8da1512cc7addcaaf49e80e5789defca">More...</a><br /></td></tr>
<tr class="separator:ga8da1512cc7addcaaf49e80e5789defca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad24d87164c99484b276a089827dc1f64"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#gad24d87164c99484b276a089827dc1f64">ch9121_interface_reset_gpio_init</a> (void)</td></tr>
<tr class="memdesc:gad24d87164c99484b276a089827dc1f64"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface reset gpio init  <a href="group__ch9121__interface__driver.html#gad24d87164c99484b276a089827dc1f64">More...</a><br /></td></tr>
<tr class="separator:gad24d87164c99484b276a089827dc1f64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf72db05ed030b30da51b9406b547d1cb"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#gaf72db05ed030b30da51b9406b547d1cb">ch9121_interface_reset_gpio_deinit</a> (void)</td></tr>
<tr class="memdesc:gaf72db05ed030b30da51b9406b547d1cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface reset gpio deinit  <a href="group__ch9121__interface__driver.html#gaf72db05ed030b30da51b9406b547d1cb">More...</a><br /></td></tr>
<tr class="separator:gaf72db05ed030b30da51b9406b547d1cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee721347bcca3a578f7fe0add0874ac0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#gaee721347bcca3a578f7fe0add0874ac0">ch9121_interface_reset_gpio_write</a> (uint8_t data)</td></tr>
<tr class="memdesc:gaee721347bcca3a578f7fe0add0874ac0"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface reset gpio write  <a href="group__ch9121__interface__driver.html#gaee721347bcca3a578f7fe0add0874ac0">More...</a><br /></td></tr>
<tr class="separator:gaee721347bcca3a578f7fe0add0874ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf8b3e382add1b66cd0d5809d2d784b7"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#gacf8b3e382add1b66cd0d5809d2d784b7">ch9121_interface_cfg_gpio_init</a> (void)</td></tr>
<tr class="memdesc:gacf8b3e382add1b66cd0d5809d2d784b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface cfg gpio init  <a href="group__ch9121__interface__driver.html#gacf8b3e382add1b66cd0d5809d2d784b7">More...</a><br /></td></tr>
<tr class="separator:gacf8b3e382add1b66cd0d5809d2d784b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e04964bdc718090769481d9c72dc65c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#ga2e04964bdc718090769481d9c72dc65c">ch9121_interface_cfg_gpio_deinit</a> (void)</td></tr>
<tr class="memdesc:ga2e04964bdc718090769481d9c72dc65c"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface cfg gpio deinit  <a href="group__ch9121__interface__driver.html#ga2e04964bdc718090769481d9c72dc65c">More...</a><br /></td></tr>
<tr class="separator:ga2e04964bdc718090769481d9c72dc65c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga670550df68be7cb34f15d92ccc54101a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#ga670550df68be7cb34f15d92ccc54101a">ch9121_interface_cfg_gpio_write</a> (uint8_t data)</td></tr>
<tr class="memdesc:ga670550df68be7cb34f15d92ccc54101a"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface cfg gpio write  <a href="group__ch9121__interface__driver.html#ga670550df68be7cb34f15d92ccc54101a">More...</a><br /></td></tr>
<tr class="separator:ga670550df68be7cb34f15d92ccc54101a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4664c8ca283f522e6ff18ecffe335e5d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#ga4664c8ca283f522e6ff18ecffe335e5d">ch9121_interface_delay_ms</a> (uint32_t ms)</td></tr>
<tr class="memdesc:ga4664c8ca283f522e6ff18ecffe335e5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface delay ms  <a href="group__ch9121__interface__driver.html#ga4664c8ca283f522e6ff18ecffe335e5d">More...</a><br /></td></tr>
<tr class="separator:ga4664c8ca283f522e6ff18ecffe335e5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabc9e3efd2d9d79d5da8cdd7b832fef5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__interface__driver.html#gabc9e3efd2d9d79d5da8cdd7b832fef5a">ch9121_interface_debug_print</a> (const char *const fmt,...)</td></tr>
<tr class="memdesc:gabc9e3efd2d9d79d5da8cdd7b832fef5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface print format data  <a href="group__ch9121__interface__driver.html#gabc9e3efd2d9d79d5da8cdd7b832fef5a">More...</a><br /></td></tr>
<tr class="separator:gabc9e3efd2d9d79d5da8cdd7b832fef5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>driver ch9121 interface template source file </p>
<p>Copyright (c) 2015 - present LibDriver All rights reserved</p>
<p>The MIT License (MIT)</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<dl class="section version"><dt>Version</dt><dd>1.0.0 </dd></dl>
<dl class="section author"><dt>Author</dt><dd>Shifeng Li </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2023-04-15</dd></dl>
<h3>history</h3>
<table class="doxtable">
<tr>
<th>Date </th><th>Version </th><th>Author </th><th>Description </th></tr>
<tr>
<td>2023/04/15 </td><td>1.0 </td><td>Shifeng Li </td><td>first upload </td></tr>
</table>

<p class="definition">Definition in file <a class="el" href="driver__ch9121__interface__template_8c_source.html">driver_ch9121_interface_template.c</a>.</p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_b31d54d5631803016a26f28213a41162.html">interface</a></li><li class="navelem"><a class="el" href="driver__ch9121__interface__template_8c.html">driver_ch9121_interface_template.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
